org.eclipse.vtp.desktop.projects.core.internals
Class WebServiceType

java.lang.Object
  extended by org.eclipse.vtp.desktop.projects.core.internals.VoiceResource
      extended by org.eclipse.vtp.desktop.projects.core.internals.WebServiceType
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, IBusinessObject, ObjectListener, IVoiceToolsResource

public class WebServiceType
extends VoiceResource
implements IBusinessObject

WebServiceType.

Author:
Lonnie Pryor

Constructor Summary
WebServiceType(WebServiceTypeSet webServiceTypeSet, java.lang.Class objectType)
          Creates a new WebServiceType.
 
Method Summary
 void delete()
           
 IBusinessObjectSet getBusinessObjectSet()
           
 java.util.List getFields()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
protected  java.lang.String getObjectId()
          The object id is used by the event system to uniquely identify a project resource.
 IVoiceToolsResource getParent()
          Returns the parent of this resource.
 org.eclipse.core.resources.IFile getUnderlyingFile()
           
 
Methods inherited from class org.eclipse.vtp.desktop.projects.core.internals.VoiceResource
addRefreshListener, deferEvents, finalize, getAdapter, getProject, processObjectEvent, refresh, removeRefreshListener, resumeEvents
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.vtp.desktop.projects.core.IVoiceToolsResource
addRefreshListener, deferEvents, getProject, refresh, removeRefreshListener, resumeEvents
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

WebServiceType

public WebServiceType(WebServiceTypeSet webServiceTypeSet,
                      java.lang.Class objectType)
Creates a new WebServiceType.

Parameters:
webServiceTypeSet - The web service type set that contains this type.
objectType - The Java type this business object represents.
Method Detail

getObjectId

protected java.lang.String getObjectId()
Description copied from class: VoiceResource
The object id is used by the event system to uniquely identify a project resource. In this fashion, multiple references to the resource can be created and still be notified of events.

Specified by:
getObjectId in class VoiceResource
Returns:
A unique identifier for this resource

getName

public java.lang.String getName()
Specified by:
getName in interface IVoiceToolsResource
Returns:
The name of the resource

getParent

public IVoiceToolsResource getParent()
Description copied from interface: IVoiceToolsResource
Returns the parent of this resource. If this is a project resource this function returns this.

Specified by:
getParent in interface IVoiceToolsResource
Returns:
The parent of this resource resource

getId

public java.lang.String getId()
Specified by:
getId in interface IBusinessObject
Returns:
The unique identifier for this business object definition

getFields

public java.util.List getFields()
Specified by:
getFields in interface IBusinessObject
Returns:
A list of IBusinessObjectFields that define the names and data types of the business object's fields

getBusinessObjectSet

public IBusinessObjectSet getBusinessObjectSet()
Specified by:
getBusinessObjectSet in interface IBusinessObject
Returns:
The parent folder resource of this business object definition

getUnderlyingFile

public org.eclipse.core.resources.IFile getUnderlyingFile()
Specified by:
getUnderlyingFile in interface IBusinessObject

delete

public void delete()
            throws org.eclipse.core.runtime.CoreException
Specified by:
delete in interface IBusinessObject
Throws:
org.eclipse.core.runtime.CoreException